package com.ufenlei.LTS {
	import flash.text.TextField;
	/**
	 * @author bbn
	 */
	public class TextButton extends Button {
		private var _tf:TextField;
		public function TextButton(s:String = "按钮",locked:Boolean = false) {
			super(false,locked);
			_tf = view.textField;
			addEventListenerOn(top);
			addViewClip(view);
			initView();
			this.text = s;
		}
		public function set text(s:String):void{
			_tf.text = s;
		}
	}
}